<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="/jsp/common/head.jsp"%>
<div class="right">
     <div class="location">
         <strong>你现在所在的位置是:</strong>
         <span>订单管理页面 >> 信息查看</span>
     </div>
     <div class="providerView">
         <p><strong>订单编号：</strong><span>${billInfo.billCode} </span></p>
         <p><strong>商品名称：</strong><span>${billInfo.productName} </span></p>
         <p><strong>商品单位：</strong><span>${billInfo.productUnit} </span></p>
         <p><strong>商品数量：</strong><span>${billInfo.productCount} </span></p>
         <p><strong>总金额：</strong><span>${billInfo.totalPrice} </span></p>
         <p><strong>供应商：</strong>
             <!-- 遍历供应商列表 -->
                <c:forEach items="${provideList}" var ="provide" varStatus="status">
                    <!-- 根据 订单的 providerId 匹配 provider 的 id 获取 proName -->
                    <c:if test="${ billInfo.providerId  eq provide.id}" var="flag">
                        <span>${provide.proName}</span>
                    </c:if>
                </c:forEach>
         </p>
         <p><strong>是否付款：</strong>
         	<span>未付款</span>
		</p>
		<div class="providerAddBtn">
         	<input type="button" id="back" name="back" value="返回" >
        </div>
     </div>
 </div>
</section>
<%@include file="/jsp/common/foot.jsp" %>